import service from './http.js'

export function login(data) {
  return service.post('/api/login', data)
}
export function imgCode(data) {
  return service.get('/api/login/img_code', data)
}
